Active power distribution network multi-time scale coordinated optimization scheduling method and storage medium

ABSTRACT

An active power distribution network multi-time scale coordinated optimization scheduling method and storage medium are provided. The method includes the following steps: performing long-time scale optimization scheduling of an active power distribution network; performing short-time scale rolling optimization scheduling on the basis of MPC of the active power distribution network according to an optimization result of the long-time scale optimization scheduling of the active power distribution network. By using a model prediction control method, taking the long-time scale optimization scheduling result as a reference, and performing short-time scale rolling correction, the optimization scheduling of the active power distribution network is achieved, thereby reducing unfavorable influences of prediction precision of a distributed power supply and a low-voltage load on the optimization scheduling.

TECHNICAL FIELD

The disclosure relates to the field of multi-source coordinated optimization control for active power distribution networks, and particularly to a Model Predictive Control (MPC)-based multi-time-scale coordinated optimization scheduling method for an active power distribution network and a storage medium.

BACKGROUND

Along with massive access of distributed power generation, energy storage, electric vehicles and flexible loads, a power distribution network becomes an active network, controllable resources are gradually increased, the concept of active power distribution network is developed, and its optimization scheduling becomes the key for safe, stable, economic and efficient operation of the power distribution network.

At present, during coordinated optimization scheduling of an active power distribution network, layered optimization coordination is performed on the power distribution network according to a layered management characteristic of operation of the power distribution network, and coordination between different layers is implemented by uploading a schedulable capacity and transmitting an optimization target curve. Such a timepoint-based deterministic optimization strategy may not meet an access requirement of massive random and intermittent distributed power supplies. Therefore, a multi-time-scale coordinated optimization scheduling technology is proposed to implement resource optimization allocation within a range of the active power distribution network. However, how to reduce influence of inaccurate prediction about distributed power supplies and loads, realize “multilevel coordination and level-by-level detailing” by multi-time-scale coordinated optimization scheduling and fully utilize advantages of optimization scheduling of each time scale is always a knotty problem.

MPC is a type of model-based finite time-domain closed-loop optimal control algorithm, and has been well applied to industrial process control. In each sampling period, a controller determines a system state of a current moment as an initial control state, and solves a problem about optimal control within a finite duration by online rolling on the basis of a prediction result, obtained by a prediction model, about a future state, thereby obtaining a current control behavior to minimize a difference between future output and a reference trajectory. MPC is formed by three parts, i.e. the prediction model, rolling optimization and feedback correction.

The prediction model predicts a future output value of a process according to historical information and future input of the process to provide priori knowledge for optimization of MPC. Rolling optimization implements repeated rolling optimization on a control target on the basis of an output feedback result of a practical system to obtain an optimal control measure for a future time bucket. Feedback correction corrects an advanced control strategy provided by a rolling optimization algorithm in a feedback manner on the basis of a measured value of steady-state output of the practical system.

SUMMARY

For the shortcoming of a conventional art, embodiments of the disclosure are expected to provide a multi-time-scale coordinated optimization scheduling method for an active power distribution network and a storage medium, to implement optimization scheduling of the active power distribution network, thereby reducing negative influence of prediction accuracy of distributed power supplies and low-voltage loads on optimization scheduling.

The embodiments of the disclosure are implemented by adopting the following technical solutions.

The embodiments of the disclosure provide a multi-time-scale coordinated optimization scheduling method for an active power distribution network, which includes the following steps:

(1): long-time-scale optimization scheduling is performed on the active power distribution network; and

(2): MPC-based short-time-scale rolling optimization scheduling is performed on the active power distribution network according to an optimization result of long-time-scale optimization scheduling of the active power distribution network.

As an implementation mode, Step (1) includes:

(1-1): a distributed power supply predicted value {circumflex over (P)}_(k)(t), load predicted value {circumflex over (P)}_(load)(t), adjustable energy storage capacity and adjustable flexible load capacity of the active power distribution network under a long time scale are acquired;

(1-2): a long-time-scale optimization scheduling model for the active power distribution network is constructed; and

(1-3): the optimization result of long-time-scale optimization scheduling of the active power distribution network is acquired, the optimization result including: energy storage output power P_(stori)(t) and flexible load output power ΔP_(Lj)(t).

As an implementation mode, the long-time-scale optimization scheduling model for the active power distribution network in Step (1-2) includes: a target function for long-time-scale optimization scheduling and a constraint condition;

the target function for long-time-scale optimization scheduling is:

$\begin{matrix} {{{\min \mspace{14mu} F} = {\min {\sum\limits_{t = 1}^{T\; 1}\; \left\{ {{{c_{grid}(t)}{P_{grid}(t)}} + {\sum\limits_{i = 1}^{NL}\; {C_{loadi}(t)}} + {\sum\limits_{j = 1}^{NS}\; {C_{storj}(t)}}} \right\}}}},} & (1) \end{matrix}$

in formula (1), min F being a minimum value of cost in long-time-scale optimization scheduling of the active power distribution network, c_(grid)(t) representing a time-of-use electricity price of a power grid, P_(grid)(t)being output power of a tie line under the long time scale, C_(loadi)(t) being flexible load scheduling cost, C_(storj)(t) being energy storage equipment scheduling cost, T1 representing a long-time-scale optimization scheduling period, NL being a number of flexible loads in the active power distribution network and NS being a number of energy storage devices; and

the constraint condition includes: a power constraint of the tie line of the active power distribution network and a main network, a power balance constraint, an energy storage battery constraint, a flexible load constraint and a network power flow security constraint.

As an implementation mode, the power constraint of the tie line of the active power distribution network and the main network includes: −P_(L) ^(max)(t)≤P_(grid)(t)≤P_(L) ^(max)(t), P_(L) ^(max)(t) being an upper limit value of active power of the tie line under the long time scale, P_(L) ^(min)(t) being a lower limit value of the active power of the tie line under the long time scale and P_(grid)(t) being the output power of the tie line under the long time scale; the power balance constraint includes:

${{{\sum\limits_{i = 1}^{NS}\; {P_{stori}(t)}} + {\sum\limits_{j = 1}^{NL}\; {\Delta \; {P_{Lj}(t)}}} + {\sum\limits_{k = 1}^{{wind} + {solar}}\; {{\hat{P}}_{k}(t)}} + {P_{grid}(t)}} = {{{\hat{P}}_{load}(t)} + {P_{loss}(t)}}},$

P_(grid)(t) being the output power of the tie line under the long time scale, P_(stori)(t) being the energy storage output power of long-time-scale optimization scheduling, ΔP_(Lj)(t) being the flexible load output power of long-time-scale optimization scheduling, {circumflex over (P)}_(k)(t) being the distributed power supply predicted value of the active power distribution network under the long time scale, {circumflex over (P)}_(load)(t) being the load predicted value of the active power distribution network under the long time scale and P_(loss)(t) being active power loss of the active power distribution network under the long time scale; the energy storage battery constraint includes: when an energy storage battery is discharged under the long time scale, P_(storj)(t)>0 and a left capacity of a moment t is

${{{SOC}_{j}(t)} = {{{{SOC}_{j}\left( {t - 1} \right)}\left( {1 - \sigma} \right)} - \frac{P_{storj}(t)}{\eta_{D}}}},$

when the energy storage battery is charged under the long time scale, P_(storj)(t)<0 and the left capacity of the moment t is SOC_(j)(t)=SOC_(j)(t−1)(1−σ)−P_(storj)(t)η_(c), a charge and discharge power constraint of the energy storage battery under the long time scale is: P_(storj) ^(min)≤P_(storj)(t)≤P_(storj) ^(max), and a capacity constraint of the energy storage battery under the long time scale is: SOC_(j) ^(min)≤SOC_(j)(t)≤SOC_(j) ^(max), where σ is a self-discharge rate of the energy storage battery under the long time scale, η_(c) is charge efficiency of the energy storage battery under the long time scale, η_(D) is discharge efficiency of the enemy storage battery under the long time scale, SOC_(j)(t−1) is a left energy storage capacity of a last moment under the long time scale, SOC_(j)(t) is a left energy storage capacity of the moment t under the long time scale, SOC_(j) ^(max) is an upper limit value of a left capacity of the energy storage battery under the long time scale, SOC_(j) ^(min) is a lower limit value of the left capacity of the energy storage battery under the long time scale, P_(storj) ^(max) is an upper limit value of charge power of the energy storage battery under the long time scale, and P_(storj) ^(min) is a lower limit value of discharge power of the energy storage battery under the long time scale; the flexible load constraint includes: ΔP_(Li min)≤ΔP_(Li)≤ΔP_(Li max), ΔP_(Li max) being an upper limit value of a flexible load power change under the long time scale, ΔP_(Li min) being a lower limit value of the flexible toad power change under the long time scale and ΔP_(Lj)(t) being the flexible load output power of long-time-scale optimization scheduling; and the network power flow security constraint includes: V_(min)≤V_(n)≤V_(max) and I_(b)≤I_(b.rated), V_(n) being a node voltage amplitude under the long time scale, V_(max) being an upper limit value of the node voltage amplitude under the long time scale, V_(min) being a lower limit value of the node voltage amplitude under the long time scale, I_(b) being a branch current under the long time scale and I_(b.rated) being a branch rated current under the long time scale.

As an implementation mode, Step (2) includes:

(2-1): a distributed power supply predicted value {circumflex over (P)}_(k)(t)′, load predicted value {circumflex over (P)}_(load)(t)′, adjustable energy storage capacity and adjustable flexible load capacity of the active power distribution network under a short time scale and the optimization result of long-time-scale optimization scheduling of the active power distribution network are acquired, the optimization result of long-time-scale optimization scheduling of the active power distribution network including: the energy storage output power P_(stori)(t) and the flexible load output power ΔP_(Lj)(t);

(2-2): a short-time-scale optimization scheduling model for the active power distribution network is constructed;

(2-3): energy storage output power P_(stori)(t)′ and flexible load output power ΔP_(Lj)(t)′ of short-time-scale optimization scheduling of the active power distribution network and an optimization result {tilde over (y)}(k) of a moment k in a solution sequence are acquired, {tilde over (y)}(k) including energy storage output power P_(stori)(k)′ of the moment k and flexible load output power ΔP_(Lj)(k)′ of the moment k;

(2-4): feedback correction is performed on the short-time-scale optimization scheduling model for the active power distribution network according to a real-time operation state of the active power distribution network; and

(2-5): if long-time-scale optimization scheduling is ended or an optimization scheduling process is artificially interrupted, short-time-scale optimization scheduling is ended, otherwise rolling optimization is performed on short-time-scale optimization scheduling according to a feedback correction result.

As an implementation mode, the operation that the short-time-scale optimization scheduling model for the active power distribution network is constructed in Step (2-2) includes:

(2-2-1): an optimization time bucket T of long-time-scale optimization scheduling of the active power distribution network is acquired, and a short-time-scale optimization scheduling period is set; and

(2-2-2): a target function for short-time-scale optimization scheduling and a constraint condition are designed,

wherein the target function for short-time-scale optimization scheduling is:

$\begin{matrix} {{{\min \mspace{14mu} f} = {\sum\limits_{t = {t_{0} + 1}}^{t = {t_{0} + T}}\; \left\{ {{\sum\limits_{i = 1}^{NS}\; {\omega_{i}{{{P_{stori}(t)}^{\prime} - {P_{stori}(t)}}}}} + {\sum\limits_{j = 1}^{NL}\; {\omega_{j}{{{\Delta \; {P_{Lj}(t)}^{\prime}} - {\Delta \; {P_{Lj}(t)}}}}}} + {\omega_{g}{{{P_{grid}(t)}^{\prime} - {P_{grid}(t)}}}}} \right\}}},} & (2) \end{matrix}$

in formula (2), T being the optimization time bucket of long-time-scale optimization scheduling of the active power distribution network, P_(grid)(t) being power of the tie line under the long time scale, P_(stori)(t) being the energy storage output power of long-time-scale optimization scheduling, ΔP_(Lj)(t) being the flexible load output power of long-time-scale optimization scheduling, P_(grid)(t) being power of the tie line under the short time scale, P_(stori)(t)′ being the energy storage output power of short-time-scale optimization scheduling, ΔPT_(Lj)(t) being the flexible load output power of short-time-scale optimization scheduling, ω_(j) being an energy storage weight coefficient, ω_(j) being a flexible load weight coefficient, ω_(g) being a tie line weight coefficient, t₀ being an initial moment, NL being the number of the flexible loads in the active power distribution network, NS being the number of the energy storage devices and min f being a minimum value of cost in short-time-scale optimization scheduling of the active power distribution network; and

the constraint condition includes: the power constraint of the tie line of the active power distribution network and the main network, the power balance constraint, the energy storage battery constraint, the flexible load constraint and the network power flow security constraint.

As an implementation mode, the power constraint of the tie line of the active power distribution network and the main network includes: −P_(L) ^(max)(t)′≤P_(grid)(t)′≤P_(L) ^(max)(t)′, P_(L) ^(max)(t)′ being an upper limit value of active power of the tie line under the short time scale, P_(L) ^(min)(t)′ being a lower limit value of the active power of the tie line under the short time scale and P_(grid)(t)′ being power of the tie line under the short time scale; the power balance constraint includes:

${{{\sum\limits_{i = 1}^{NS}\; {P_{stori}(t)}^{\prime}} + {\sum\limits_{j = 1}^{NL}\; {\Delta \; {P_{Lj}\left( t^{\prime} \right)}}} + {\sum\limits_{k = 1}^{{wind} + {solar}}\; {{\hat{P}}_{k}(t)}^{\prime}} + {P_{grid}(t)}^{\prime}} = {{{\hat{P}}_{load}(t)}^{\prime} + {P_{loss}(t)}^{\prime}}},$

P_(grid)(t)′ being the power of the tie line under the short time scale, P_(stori)(t)′ being the energy storage output power of short-tune-scale optimization scheduling, ΔP_(Lj)(t)′ being the flexible load output power of short-time-scale optimization scheduling, {circumflex over (P)}_(k)(t)′ being the distributed power supply predicted value of the active power distribution network under the short time scale, {circumflex over (P)}_(load)(t)′ being the load predicted value of the active power distribution network under the short time scale and P_(loss)(t)′ being active power loss of the active power distribution network under the short time scale; the energy storage battery constraint includes: when the energy storage battery is discharged under the short time scale, P_(storj)(t))′>0 and the left capacity of the moment t is:

${{{SOC}_{j}(t)}^{\prime} = {{{{SOC}_{j}\left( {t - 1} \right)}\left( {1 - \sigma} \right)^{\prime}} - \frac{{P_{storj}(t)}^{\prime}}{\eta_{D}^{\prime}}}},$

when the energy storage battery is charged under the short time scale, P_(storj)(t)′<0 and the left capacity of the moment t is: SOC_(j)(t)′=SOC_(j)(t−1)(1−σ)′−P_(storj)(t)′η_(C)′, a charge and discharge power constraint of the energy storage battery under the short time scale is: P_(storj) ^(min)′≤P_(storj)(t)′≤P_(storj) ^(max)′, and a capacity constraint of the energy storage battery under the short time scale is: SOC_(j) ^(min)′≤SOC_(j)(t)′≤SOC_(j) ^(max)′, where σ′ is a self-discharge rate of the energy storage battery under the short time scale, η_(C)′ is charge efficiency of the energy storage battery under the short time scale, η_(D)′ is discharge efficiency of the energy storage battery under the short time scale, SOC_(j)(t−1)′ is a left energy storage capacity of the last moment under the short time scale, SOC_(j)(t)′ is a left energy storage capacity of the moment t under the short time scale, SOC_(j) ^(max)′ is an upper limit value of a left capacity of the energy storage battery under the short time scale, SOC_(j) ^(min)′ is a tower limit value of the left capacity of the energy storage battery under the short time scale, P_(storj) ^(max)′ is an upper limit value of charge power of the energy storage battery under the short time scale, and P_(storj) ^(min)′ is a lower limit value of the discharge power of the energy storage battery under the short time scale; the flexible load constraint includes: ΔP_(Li min)′≤ΔP_(Li)′≤ΔP_(Li max)′, ΔP_(Li max)′ being an upper limit value of a flexible load power change under the short time scale, ΔP_(Li min)′ being a lower limit value of the flexible load power change under the short time scale and ΔP_(Lj)(t)′ being flexible load output power of short-time-scale optimization scheduling; and the network power flow security constraint includes: V_(min)′≤V_(n)′≤V_(max)′ and I_(b)′≤I_(b.rated)′, V_(n)′ being a node voltage amplitude under the short time scale, V_(max)′ being an upper limit value of the node voltage amplitude under the short time scale, V_(min)′ being a lower limit value of the node voltage amplitude under the short time scale, I_(b)′ being a branch current under the short time scale and I_(b.rated)′ being a rated current under the short time scale.

As an implementation mode, the operation that feedback correction is performed on the short-time-scale optimization scheduling model for the active power distribution network according to the real-time operation state of the active power distribution network in Step (2-4) includes:

(2-4-1): the optimization time bucket T of long-time-scale optimization scheduling of the active power distribution network is acquired, a prediction period m of short-time-scale optimization scheduling of the active power distribution network is set, and an optimization time bucket p of short-time-scale optimization scheduling of the active power distribution network is calculated;

(2-4-2): an error e(k) between a practical output result y(k) of the active power distribution network at the moment k and the optimization result {tilde over (y)}(k) of the moment k in short-time-scale optimization scheduling of the active power distribution network is calculated:

e(k)=y(k)−{tilde over (y)}(k) (3); and

(2-4-3): optimization results from moments k+1 to k+p in short-time-scale optimization scheduling of the active power distribution network are corrected according to the error e(k):

$\begin{matrix} {{\begin{bmatrix} {{\overset{\sim}{y}}_{1}\left( {k + 1} \right)} \\ {{\overset{\sim}{y}}_{1}\left( {k + 2} \right)} \\ {\vdots } \\ {{\overset{\sim}{y}}_{1}\left( {k + p} \right)} \end{bmatrix} = {\begin{bmatrix} {\overset{\sim}{y}\left( {k + 1} \right)} \\ {\overset{\sim}{y}\left( {k + 1} \right)} \\ {\vdots \mspace{79mu}} \\ {\overset{\sim}{y}\left( {k + p} \right)} \end{bmatrix} + {\begin{bmatrix} h_{k + 1} \\ h_{k + 2} \\ {\vdots \mspace{40mu}} \\ h_{k + p} \end{bmatrix}{e(k)}}}},} & (4) \end{matrix}$

in formula (4), {tilde over (y)}₁(k+p) being a correction result of the optimization result {tilde over (y)}(k+p) of the moment k+p, and h_(k+p) being model information of the moment k+p, being obtained by offline identification and being a constant matrix.

The embodiments of the disclosure further provide a storage medium, in which a computer-executable instruction is stored, the computer-executable instruction being configured to execute the multi-time-scale coordinated optimization scheduling method of the embodiments of the disclosure for the active power distribution network.

The embodiments of the disclosure have the following beneficial effects.

(1) A multi-time-scale coordination and cooperation manner is adopted for multi-source optimization scheduling of the active power distribution network, so that an economic scheduling factor under the long time scale may be met, voltage quality, smooth output of power supplies and power balance conditions of the power distribution network under the short time scale may also be met, and purposes of “multilevel coordination, level-by-level detailing and economic scheduling” of the active power distribution network may be achieved.

(2) Long-time-scale optimization scheduling aims to minimize the cost in optimization scheduling of the active power distribution network, emphasizes operation cost of the whole scheduling period, and may implement maximal utilization of distributed energy and implement operation economy of the active power distribution network.

(3) MPC is introduced into short-time-scale optimization scheduling, rolling optimization of a finite time bucket may be implemented in each optimization scheduling period on the basis of latest predicted data, and global optimization is replaced with time bucket optimization, so that influence of low prediction accuracy of distributed power supplies and loads of the power distribution network is reduced, and an optimized operation level of the active power distribution network is improved.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a flowchart of a multi-time-scale coordinated optimization scheduling method for an active power distribution network according to an embodiment of the disclosure.

FIG. 2 is a process diagram of a multi-time-scale coordinated optimization scheduling method for an active power distribution network according to an embodiment of the disclosure.

FIG. 3 is a specific flowchart of a method shown in Step (1) in FIG 1.

FIG. 4 is a specific flowchart of a method shown in Step (2) in FIG. 1.

DETAILED DESCRIPTION

Specific implementation modes of the disclosure will be described below in combination with the drawings in detail.

In order to make the purpose, technical solutions and advantages of the embodiments of the disclosure clearer, the technical solutions in the embodiments of the disclosure will be clearly and completely described below in combination with the drawings in the embodiments of the disclosure. Obviously, the described embodiments are not all embodiments but part of embodiments of the disclosure. All other embodiments obtained by those skilled in the art on the basis of the embodiments in the disclosure without creative work fall within the scope of protection of the disclosure.

In addition, in the method embodiment provided by the disclosure, a tie line refers to a transmission line between an active power distribution network and a main network; scheduling cost refers to cost produced in a scheduling process, i.e. a sum of cost in power transmission of the tie line, scheduling cost of flexible loads and energy storage scheduling cost; the flexible load refers to a load which may be dynamically adjusted according to a requirement; a long time scale refers to performing optimization for a relatively long time to meet a requirement on optimization scheduling economy, is usually set to be one day, and may also be autonomously set according to a requirement; a short time scale refers to performing optimization for a short time to meet a requirement on optimization scheduling real-time performance, is usually set to be 5 minutes, and may also be autonomously set according to a requirement; and an optimization period refers to an optimization time bucket set according to the requirements of the long and short time scales.

A multi-time-scale coordinated optimization scheduling method provided by an embodiment of the disclosure for an active power distribution network, as shown in FIG. 1, includes the following steps.

In Step (1), long-time-scale optimization scheduling is performed on the active power distribution network.

In Step (2), MPC-based short-time-scale rolling optimization scheduling is performed on the active power distribution network according to an optimization result of long-time-scale optimization scheduling of the active power distribution network.

Specifically, the multi-time-scale coordinated optimization scheduling solution of the embodiment of the disclosure for the active power distribution network includes a long-time-scale optimization scheduling solution and a short-time-scale optimization scheduling solution. A specific implementation process of the long-time-scale optimization scheduling solution may refer to FIG. 3. A specific implementation process of the short-time-scale optimization scheduling solution may refer to FIG. 4.

Specifically, in combination with FIG. 2 and FIG. 3, Step (1) includes the following steps.

In Step (1-1), a distributed power supply predicted value {circumflex over (P)}_(k)(t), load predicted value {circumflex over (P)}_(load)(t), adjustable energy storage capacity and adjustable flexible load capacity of the active power distribution network under a long time scale are acquired,wherein the distributed power supply predicted value P_(K) (t) and load predicted

wherein the distributed power supply predicted value {circumflex over (P)}_(k)(t) and load predicted value {circumflex over (P)}_(load)(t) of the active power distribution network under the long time scale are power curves calculated under the long time scale, the adjustable energy storage capacity includes a current left energy storage capacity and an adjustable margin, and the adjustable flexible load capacity is an adjustable flexible load margin calculated according to importance of a flexible load and a subscribed flexible load adjustment protocol.

In Step (1-2), a long-time-scale optimization scheduling model for the active power distribution network is constructed.

In Step (1-3), the optimization result of long-time-scale optimization scheduling of the active power distribution network is acquired, the optimization result including: energy storage output power P_(stori)(t) and flexible load output power ΔP_(Lj)(t),

wherein the optimization result may be obtained by solving the long-time-scale optimization scheduling model for the active power distribution network by an optimization tool.

As an implementation mode, the long-time-scale optimization scheduling model for the active power distribution network in Step (1-2) includes: a target function for long-time-scale optimization scheduling and a constraint condition;

the long-time-scale optimization scheduling model aims to minimize cost in optimization scheduling of the active power distribution network, emphasizes operation cost of the whole scheduling period, and meanwhile, adopts a Maximum Power Point Tracking (MPPT) control mode to implement maximal utilization of distributed energy, and the target function for long-lime-scale optimization scheduling is:

$\begin{matrix} {{{\min \mspace{14mu} F} = {\min {\sum\limits_{t = 1}^{T\; 1}\; \left\{ {{{c_{grid}(t)}{P_{grid}(t)}} + {\sum\limits_{i = 1}^{NL}\; {C_{loadi}(t)}} + {\sum\limits_{j = 1}^{NS}\; {C_{storj}(t)}}} \right\}}}},} & \left( {1\text{-}1} \right) \end{matrix}$

in formula (1-1), min F being a minimum value of cost in long-time-scale optimization scheduling of the active power distribution network, c_(grid)(t) representing a time-of-use electricity price of a power grid, P_(grid)(t) being output power of a tie line under the long time scale, C_(loadj)(t) being flexible load scheduling cost, C_(storj)(t) being energy storage equipment scheduling cost, T1 representing a long-time-scale optimization scheduling period, NL being a number of flexible loads in the active power distribution network and NS being a number of energy storage devices; and

the constraint condition includes: a power constraint of the tie line of the active power distribution network and a main network, a power balance constraint, an energy storage battery constraint, a flexible load constraint and a network power flow security constraint.

As an implementation mode, the power constraint of the tie line of the active power distribution network and the main network includes: −P_(L) ^(max)(t)≤P_(grid)(t)≤P_(L) ^(max)(t), P_(L) ^(max)(t) being an upper limit value of active power of the tie line under the long time scale, P_(L) ^(min)(t) being a lower limit value of the active power of the tie line under the long time scale and P_(grid)(t) being the output power of the tie line under the long time scale; the power balance constraint includes:

${{{\sum\limits_{i = 1}^{NS}\; {P_{stori}(t)}} + {\sum\limits_{j = 1}^{NL}\; {\Delta \; {P_{Lj}(t)}}} + {\sum\limits_{k = 1}^{{wind} + {solar}}\; {{\hat{P}}_{k}(t)}} + {P_{grid}(t)}} = {{{\hat{P}}_{load}(t)} + {P_{loss}(t)}}},$

P_(grid)(t) being the output power of the tie line under the long time scale, P_(stori)(t) being the energy storage output power of long-time-scale optimization scheduling, ΔP_(Lj)(t) being the flexible load output power of long-time-scale optimization scheduling, {circumflex over (P)}_(k)(t) being the distributed power supply predicted value of the active power distribution network under the long time scale, {circumflex over (P)}_(load)(t) being the load predicted value of the active power distribution network under the long time scale and P_(loss)(t) being active power loss of the active power distribution network under the long time scale; the energy storage battery constraint includes: when an energy storage battery is discharged under the long time scale, P_(storj)(t)>0 and a left capacity of a moment t

${{{SOC}_{j}(t)} = {{{{SOC}_{j}\left( {t - 1} \right)}\left( {1 - \sigma} \right)} - \frac{P_{storj}(t)}{\eta_{D}}}},$

is when the energy storage battery is charged under the long time scale, P_(storj)(t)<0 and the left capacity of the moment t is SOC_(j)(t)=SOC_(j)(t−1)(1−σ)−P_(storj)(t)η_(C), a charge and discharge power constraint of the energy storage battery under the long time scale is: P_(storj) ^(min)≤P_(storj)(t)≤P_(storj) ^(max), and a capacity constraint of the energy storage battery under the long time scale is: SOC_(j) ^(min)≤SOC_(j)(t)≤SOC_(j) ^(max), where σ is a self-discharge rate of the energy storage battery under the long time scale, η_(C) is charge efficiency of the energy storage battery under the long time scale, η_(D) is discharge efficiency of the energy storage battery under the long time scale, SOC_(j)(t−1) is a left energy storage capacity of a last moment under the long time scale, SOC_(j)(t) is a left energy storage capacity of the moment t under the long time scale, SOC_(j) ^(max) is an upper limit value of a left capacity of the energy storage battery under the long time scale, SOC_(j) ^(min) is a lower limit value of the left capacity of the energy storage battery under the long time scale, P_(storj) ^(max) is an upper limit value of charge power of the energy storage battery under the long time scale, and P_(storj) ^(min) is a lower limit value of discharge power of the energy storage battery under the long time scale; the flexible load constraint includes: ΔP_(Li min)≤ΔP_(Li)≤ΔP_(Li max), ΔP_(Li max) being an upper limit value of a flexible load power change under the long time scale, ΔP_(Li min) being a lower limit value of the flexible load power change under the long time scale and ΔP_(Lj)(t) being the flexible load output power of long-time-scale optimization scheduling; and the network power flow security constraint includes: V_(min)≤V_(n)≤V_(max) and I_(b)≤I_(b.rated), V_(n) being a node voltage amplitude under the long time scale, V_(max) being an upper limit value of the node voltage amplitude under the long time scale, V_(min) being a lower limit value of the node voltage amplitude under the long time scale I_(b) being a branch current under the long time scale and I_(b.rated) being a branch rated current under the long time scale.

Long-time-scale optimization scheduling of the active power distribution network aims to reduce network loss, improve voltage quality, reduce a load peak and valley difference and increase a utilization rate of clean and renewable energy, a temporary overhauling and power protection requirement of the power distribution network is required to be calculated, and meanwhile, a multi-time-bucket power distribution network operation manner and optimization scheduling solution are made in consideration of a characteristic that errors of power utilization characteristic predicted values of intermittent renewable distributed power supplies and loads are increased along with increase of a prediction time scale.

Specifically, in combination with FIG. 2 and FIG. 4, Step (2) includes the following steps.

In Step (2-1), a distributed power supply predicted value {circumflex over (P)}_(k)(t)′, load predicted value {circumflex over (P)}_(load)(t)′, adjustable energy storage capacity and adjustable flexible load capacity of the active power distribution network under a short time scale and the optimization result of long-time-scale optimization scheduling of the active power distribution network are acquired, the optimization result of long-time-scale optimization scheduling of the active power distribution network including: the energy storage output power P_(stori)(t) and the flexible load output power ΔP_(Lj)(t),

wherein the distributed power supply predicted value {circumflex over (P)}_(k)(t)′ and load predicted value {circumflex over (P)}_(lard)(t)′ of the active power distribution network under the short time scale are power curves calculated under the short time scale, the adjustable energy storage capacity includes a current left energy storage capacity and an adjustable margin, and the adjustable flexible load capacity is an adjustable flexible load margin calculated according to the importance of the flexible load and the subscribed flexible load adjustment protocol.

In Step (2-2), a short-time-scale optimization scheduling model for the active power distribution network is constructed.

In Step (2-3), energy storage output power P_(stori)(t)′ and flexible load output power ΔP_(Lj)(t)′ of short-time-scale optimization scheduling of the active power distribution network and an optimization result {tilde over (y)}(k) of a moment k in a solution sequence are acquired, {tilde over (y)}(k) including energy storage output power P_(stori)(k)′ of the moment k and flexible load output power ΔP_(Lj)(k)′ of the moment k,

wherein the energy storage output power P_(stori)(t)′ and flexible load output power ΔP_(Lj)(t)′ of short-time-scale optimization scheduling of the active power distribution network are obtained by solving the short-time-scale optimization scheduling model by the optimization tool.

In Step (2-4), feedback correction is performed on the short-time-scale optimization scheduling model for the active power distribution network according to a real-time operation state of the active power distribution network.

In Step (2-5), if long-time-scale optimization scheduling is ended or an optimization scheduling process is artificially interrupted, short-time-scale optimization scheduling is ended, otherwise rolling optimization is performed on short-time-scale optimization scheduling according to a feedback correction result.

As an implementation mode, the operation that the short-time-scale optimization scheduling model for the active power distribution network is constructed in Step (2-2) includes the following steps.

In Step (2-2-1), an optimization time bucket T of long-time-scale optimization scheduling of the active power distribution network is acquired, and a short-time-scale optimization scheduling period is set.

In Step (2-2-2), a target function for short-time-scale optimization scheduling and a constraint condition are designed.

The short-time-scale optimization scheduling model takes the long-time-scale optimization result as a reference, corrects a reference value by virtue of a short-time-scale prediction model, tracks latest predicted values of the loads and the intermittent new energy on the basis of ensuring optimal economy under the long time scale, and performs optimization scheduling on schedulable resources, and the target function for short-time-scale optimization scheduling is:

$\begin{matrix} {{{\min \mspace{14mu} f} = {\sum\limits_{t = {t_{0} + 1}}^{t = {t_{0} + T}}\; \left\{ {{\sum\limits_{i = 1}^{NS}\; {\omega_{i}{{{P_{stori}(t)}^{\prime} - {P_{stori}(t)}}}}} + {\sum\limits_{j = 1}^{NL}\; {\omega_{j}{{{\Delta \; {P_{Lj}(t)}^{\prime}} - {\Delta \; {P_{Lj}(t)}}}}}} + {\omega_{g}{{{P_{grid}(t)}^{\prime} - {P_{grid}(t)}}}}} \right\}}},} & \left( {1\text{-}2} \right) \end{matrix}$

in formula (1-2), T being the optimization time bucket of long-time-scale optimization scheduling of the active power distribution network, P_(grid)(t) being power of the tie line under the long time scale, P_(stori)(t) being the energy storage output power of long-time-scale optimization scheduling, ΔP_(Lj)(t) being the flexible load output power of long-time-scale optimization scheduling, P_(grid)(t)′ being power of the tie line under the short time scale, P_(stori)(t)′ being the energy storage output power of short-time-scale optimization scheduling, ΔP_(Lj)(t) being the flexible load output power of short-time-scale optimization scheduling, ω_(i) being an energy storage weight coefficient, ω_(j) being a flexible load weight coefficient, ω_(g) being a tie line weight coefficient, t₀ being an initial moment, NL being the number of the flexible loads in the active power distribution network, NS being the number of the energy storage devices and min f being a minimum value of cost in short-time-scale optimization scheduling of the active power distribution network; and

the constraint condition includes: the power constraint of the tie line of the active power distribution network and the main network, the power balance constraint, the energy storage battery constraint, the flexible load constraint and the network power flow security constraint.

As an implementation mode, the power constraint of the tie line of the active power distribution network and the main network includes: −P_(L) ^(max)(t)′≤P_(grid)(t)′≤P_(L) ^(max)(t)′, P_(L) ^(max)(t)′ being an upper limit value of active power of the tie line under the short time scale, P_(L) ^(min)(t)′ being a lower limit value of the active power of the tie line under the short time scale and P_(grid)(t)′ being power of the tie line under the short time scale; the power balance constraint includes:

${{{\sum\limits_{i = 1}^{NS}\; {P_{stori}(t)}^{\prime}} + {\sum\limits_{j = 1}^{NL}\; {\Delta \; {P_{Lj}(t)}^{\prime}}} + {\sum\limits_{k = 1}^{{wind} + {solar}}\; {{\hat{P}}_{k}(t)}^{\prime}} + {P_{grid}(t)}^{\prime}} = {{{\hat{P}}_{load}(t)}^{\prime} + {P_{loss}(t)}^{\prime}}},$

P_(grid)(t)′ being the power of the tie line under the short time scale, P_(stori)(t)′ being the energy storage output power of short-time-scale optimization scheduling, ΔP_(Lj)(t)′ being the flexible load output power of short-time-scale optimization scheduling, {circumflex over (P)}_(k)(t)′ being the distributed power supply predicted value of the active power distribution network under the short time scale, {circumflex over (P)}_(load)(t)′ being the load predicted value of the active power distribution network under the short time scale and P_(loss)(t)′ being active power loss of the active power distribution network under the short time scale; the energy storage battery constraint includes: when the energy storage battery is discharged under the short time scale, P_(storj)(t)′>0 and the left capacity of the moment t is:

${{{SOC}_{j}(t)}^{\prime} = {{{{SOC}_{j}\left( {t - 1} \right)}\left( {1 - \sigma} \right)^{\prime}} - \frac{{P_{storj}(t)}^{\prime}}{\eta_{D}^{\prime}}}},$

when the energy storage battery is charged under the short time scale, P_(storj)(t)′ <0 and the left capacity of the moment t is: SOC_(j)(t)′=SOC_(j)(t−1)(1−σ)′−P_(storj)(t)′η_(C)′, a charge and discharge power constraint of the energy storage battery under the short time scale is: P_(storj) ^(min)′≤P_(storj)(t)′≤P_(storj) ^(max)′, and a capacity constraint of the energy storage battery under the short time scale is: SOC_(j) ^(min)′≤SOC_(j)(t)′≤SOC_(j) ^(max)′, where σ′ is a self-discharge rate of the energy storage battery under the short time scale, η_(C)′ is charge efficiency of the energy storage battery under the short time scale, η_(D)′ is discharge efficiency of the energy storage battery under the short time scale, SOC_(j)(t−1)′ is a left energy storage capacity of the last moment under the short time scale, SOC_(j)(t)′ is a left energy storage capacity of the moment t under the short time scale, SOC_(j) ^(max)′ is an upper limit value of a left capacity of the energy storage battery under the short time scale, SOC_(j) ^(min)′ is a lower limit value of the left capacity of the energy storage battery under the short time scale, P_(storj) ^(max)′ is an upper limit value of charge power of the energy storage battery under the short time scale, and P_(storj) ^(min)′ is a tower limit value of the discharge power of the energy storage battery under the short time scale; the flexible load constraint includes: ΔP_(Li min)′≤ΔP_(Li)′≤ΔP_(Li max)′, ΔP_(Li max)′ being an upper limit value of a flexible load power change under the short time scale, ΔP_(Li min)′ being a lower limit value of the flexible load power change under the short time scale and ΔP_(Lj)(t)′ being flexible load output power of short-time-scale optimization scheduling; and the network power flow security constraint includes: V_(min)′≤V_(n)′≤V_(max)′and I_(b)′≤I_(b.rated)′, V_(n)′ being a node voltage amplitude under the short time scale, V_(max)′ being an upper limit value of the node voltage amplitude under the short time scale, V_(min)′ being a lower limit value of the node voltage amplitude under the short time scale, I_(b)′ being a branch current under the short time scale and I_(b.rated)′ being a branch rated current under the short time scale.

As an implementation mode, the operation that feedback correction is performed on the short-time-scale optimization scheduling model for the active power distribution network according to the real-time operation state of the active power distribution network in Step (2-4) includes the following steps.

In Step (2-4-1), the optimization time bucket T of long-time-scale optimization scheduling of the active power distribution network is acquired, a prediction period m of short-time-scale optimization scheduling of the active power distribution network is set, and an optimization time bucket p of short-time-scale optimization scheduling of the active power distribution network is calculated.

In Step (2-4-2), an error e(k) between a practical output result y(k) of the active power distribution network at the moment k and the optimization result {tilde over (y)}(k) of the moment k in short-time-scale optimization scheduling of the active power distribution network is calculated:

e(k)=y(k)−{tilde over (y)}(k)(1−3).

In Step (2-4-3), optimization results from moments k+1 to k+p in short-time-scale optimization scheduling of the active power distribution network are corrected according to the error e(k):

$\begin{matrix} {{\begin{bmatrix} {{\overset{\sim}{y}}_{1}\left( {k + 1} \right)} \\ {{\overset{\sim}{y}}_{1}\left( {k + 2} \right)} \\ {\vdots } \\ {{\overset{\sim}{y}}_{1}\left( {k + p} \right)} \end{bmatrix} = {\begin{bmatrix} {\overset{\sim}{y}\left( {k + 1} \right)} \\ {\overset{\sim}{y}\left( {k + 1} \right)} \\ {\vdots \mspace{79mu}} \\ {\overset{\sim}{y}\left( {k + p} \right)} \end{bmatrix} + {\begin{bmatrix} h_{k + 1} \\ h_{k + 2} \\ {\vdots \mspace{40mu}} \\ h_{k + p} \end{bmatrix}{e(k)}}}},} & \left( {1\text{-}4} \right) \end{matrix}$

in formula (1-4), {tilde over (y)}₁(k+p) being a correction result of the optimization result {tilde over (y)}(k+p) of the moment k+p, and h_(k+p) being model information of the moment k+p, being obtained by offline identification and being a constant matrix.

Short-time-scale optimization scheduling aims to ensure power supply reliability of important loads, smoothen the power curves and improve the voltage quality, and the long-time-scale optimization scheduling solution is required to be corrected in consideration of emergent factors such as failures and temporary power outage for errors obtained by comparing the intermittent distributed energy and load predicted values with long-time-scale predicted values to smoothen fluctuation of output of the distributed power supplies and implement power smoothening and energy balancing.

Those skilled in the art may know that: all or part of the steps implementing the method embodiment may be implemented by instructing related hardware through a program, the program may be stored in a computer-readable storage medium, and the program is executed to execute the steps of the method embodiment; and the storage medium includes: various media capable of storing program codes such as mobile storage equipment, a Read-Only Memory (ROM), a magnetic disk or an optical disk.

Or, when being implemented in form of software function module and sold or used as an independent product, the integrated module of the embodiment of the disclosure may also be stored in a computer-readable storage medium. Based on such an understanding, the technical solutions of the embodiments of the disclosure substantially or parts making contributions to the conventional art may be embodied in form of software product, and the computer software product is stored in a storage medium, including a plurality of instructions configured to enable a piece of computer equipment (which may be a personal computer, a server, network equipment or the like) to execute all or part of the method in each embodiment of the disclosure. The storage medium includes: various media capable of storing program codes such as mobile storage equipment, a ROM, a magnetic disk or an optical disk.

The abovementioned embodiments are only examples and not intended to limit information transmission method and device recorded in the embodiments of the disclosure. Those skilled in the art should know that: the technical solutions recorded in each embodiment may still be modified, or part or all technical characteristics therein may be equivalently replaced, and these modifications or replacements are not intended to make the essence of the corresponding technical solutions depart from the scope of the technical solution of each embodiment of the disclosure.

The above is only the preferred embodiment of the disclosure and not intended to limit the scope of protection of the disclosure.

INDUSTRIAL APPLICABILITY

According to the technical solutions of the embodiments of the disclosure, an MPC method is adopted, and rolling correction is performed under the short time scale by taking the long-time-scale optimization scheduling result as a reference to implement optimization scheduling of the active power distribution network, thereby reducing negative influence of prediction accuracy of the distributed power supplies and the low-voltage loads on optimization scheduling. 

1. A multi-time-scale coordinated optimization scheduling method for an active power distribution network, comprising the following steps: (1) performing long-time-scale optimization scheduling on the active power distribution network (1); and (2) performing Model Predictive Control (MPC)-based short-time-scale rolling optimization scheduling on the active power distribution network according to an optimization result of long-time-scale optimization scheduling of the active power distribution network.
 2. The method according to claim 1, wherein Step (1) comprises: (1-1) acquiring a distributed power supply predicted value {circumflex over (P)}_(k)(t), load predicted value {circumflex over (P)}_(load)(t), adjustable energy storage capacity and adjustable flexible load capacity of the active power distribution network under a long time scale; (1-2) constructing a long-time-scale optimization scheduling model for the active power distribution network; and (1-3) acquiring the optimization result of long-time-scale optimization scheduling of the active power distribution network, the optimization result comprising: energy storage output power P_(stori)(t) and flexible load output power ΔP_(Lj)(t).
 3. The method according to claim 2, wherein the long-time-scale optimization scheduling model for the active power distribution network in Step (1-2) comprises: a target function for long-time-scale optimization scheduling and a constraint condition; the target function for long-time-scale optimization scheduling is: $\begin{matrix} {{{\min \mspace{14mu} F} = {\min {\sum\limits_{t = 1}^{T\; 1}\; \left\{ {{{c_{grid}(t)}{P_{grid}(t)}} + {\sum\limits_{i = 1}^{NL}\; {C_{loadi}(t)}} + {\sum\limits_{j = 1}^{NS}\; {C_{storj}(t)}}} \right\}}}},} & (1) \end{matrix}$ in formula (1), min F being a minimum value of cost in long-time-scale optimization scheduling of the active power distribution network, c_(grid)(t) representing a time-of-use electricity price of a power grid, P_(grid)(t) being output power of a tie line under the long time scale, C _(loadi)(t) being flexible load scheduling cost, C_(storj)(t) being energy storage equipment scheduling cost, T1 representing a long-time-scale optimization scheduling period, NL being a number of flexible loads in the active power distribution network and NS being a number of energy storage devices; and the constraint condition comprises: a power constraint of the tie line of the active power distribution network and a main network, a power balance constraint, an energy storage battery constraint, a flexible load constraint and a network power flow security constraint.
 4. The method according to claim 3, wherein the power constraint of the tie line of the active power distribution network and the main network comprises: −P_(L) ^(max)(t)≤P_(grid)(t)≤P_(L) ^(max)(t), P_(L) ^(max)(t) being an upper limit value of active power of the tie line under the long time scale, P_(L) ^(min)(t) being a lower limit value of the active power of the tie line under the long time scale and P_(grid)(t) being the output power of the tie line under the long time scale; the power balance constraint comprises: ${{{\sum\limits_{i = 1}^{NS}\; {P_{stori}(t)}} + {\sum\limits_{j = 1}^{NL}\; {\Delta \; {P_{Lj}(t)}}} + {\sum\limits_{k = 1}^{{wind} + {solar}}\; {{\hat{P}}_{k}(t)}} + {P_{grid}(t)}} = {{{\hat{P}}_{load}(t)} + {P_{loss}(t)}}},$ P_(grid)(t) being the output power of the tie line under the long time scale, P_(stori)(t) being the energy storage output power of long-time-scale optimization scheduling, ΔP_(Lj)(t) being the flexible load output power of long-time-scale optimization scheduling, P_(k)(t) being the distributed power supply predicted value of the active power distribution network under the long time scale, {circumflex over (P)}_(load)(t) being the load predicted value of the active power distribution network under the long time scale and P_(loss)(t) being active power loss of the active power distribution network under the long time scale; the energy storage battery constraint comprises: when an energy storage battery is discharged under the long time scale, P_(storj)(t)>0 and a left capacity of a moment t is ${{{SOC}_{j}(t)} = {{{{SOC}_{j}\left( {t - 1} \right)}\left( {1 - \sigma} \right)} - \frac{P_{storj}(t)}{\eta_{D}}}},$ when the energy storage battery is charged under the long time scale, P_(storj)(t)<0 and the left capacity of the moment t is SOC_(j)(t)=SOC_(j)(t−1)(1−σ)−P_(storj)(t)η_(C), a charge and discharge power constraint of the energy storage battery under the long time scale is: P_(storj) ^(min)≤P_(storj)(t)≤P_(storj) ^(max), and a capacity constraint of the energy storage battery under the long time scale is: SOC_(j) ^(min)≤SOC_(j)(t)≤SOC_(j) ^(max), where σ is a self-discharge rate of the energy storage battery under the long time scale, η_(C) is charge efficiency of the energy storage battery under the long time scale, η_(D) is discharge efficiency of the energy storage battery under the long time scale, SOC_(j)(t−1) is a left energy storage capacity of a last moment under the long time scale, SOC_(j)(t) is a left energy storage capacity of the moment t under the long time scale, SOC_(j) ^(max) is an upper limit value of a left capacity of the energy storage battery under the long time scale, SOC_(j) ^(min) is a lower limit value of the left capacity of the energy storage battery under the long time scale, P_(storj) ^(max) is an upper limit value of charge power of the energy storage battery under the long time scale, and P_(storj) ^(min) is a lower limit value of discharge power of the energy storage battery under the long time scale; the flexible load constraint comprises: ΔP_(Li min)≤ΔP_(Li)ΔP_(Li max), ΔP_(Li max) being an upper limit value of a flexible load power change under the long time scale, ΔP_(Li min) being a lower limit value of the flexible load power change under the long time scale and ΔP_(Lj)(t) being the flexible load output power of long-time-scale optimization scheduling; and the network power flow security constraint comprises: V_(min)≤V_(n)≤V_(max) and I_(b)≤I_(b.rated), V_(n) being a node voltage amplitude under the long time scale, V_(max) being an upper limit value of the node voltage amplitude under the long time scale, V_(min) being a lower limit value of the node voltage amplitude under the long time scale, I_(b) being a branch current under the long time scale and I_(b.rated) being a branch rated current under the long time scale.
 5. The method according to claim 1, wherein Step (2) comprises: (2-1) acquiring a distributed power supply predicted value {circumflex over (P)}_(k)(t)′, load predicted value {circumflex over (P)}_(load)(t)′, adjustable energy storage capacity and adjustable flexible load capacity of the active power distribution network under a short time scale and the optimization result of long-time-scale optimization scheduling of the active power distribution network, the optimization result of long-time-scale optimization scheduling of the active power distribution network comprising: the energy storage output power P_(stori)(t) and the flexible load output power ΔP_(Lj)(t); (2-2) constructing a short-time-scale optimization scheduling model for the active power distribution network; (2-3) acquiring energy storage output power P_(stori)(t)′ and flexible load output power ΔP_(Lj)(t)′ of short-time-scale optimization scheduling of the active power distribution network and an optimization result {tilde over (y)}(k) of a moment k in a solution sequence, {tilde over (y)}(k)comprising energy storage output power P_(stori)(k)′ of the moment k and flexible load output power ΔP_(Lj)(k)′ of the moment k; (2-4) performing feedback correction on the short-time-scale optimization scheduling model for the active power distribution network according to a real-time operation state of the active power distribution network; and (2-5) if long-time-scale optimization scheduling is ended or an optimization scheduling process is artificially interrupted, ending short-time-scale optimization scheduling, otherwise performing rolling optimization on short-time-scale optimization scheduling according to a feedback correction result.
 6. The method according to claim 5, wherein constructing the short-time-scale optimization scheduling model for the active power distribution network in Step (2-2) comprises: (2-2-1) acquiring an optimization time bucket T of long-time-scale optimization scheduling of the active power distribution network, and setting a short-time-scale optimization scheduling period; and (2-2-2) designing a target function for short-time-scale optimization scheduling and a constraint condition, wherein the target function for short-time-scale optimization scheduling is: $\begin{matrix} {{{\min \mspace{14mu} f} - {\sum\limits_{t = {t_{0} + 1}}^{t = {t_{0} + T}}\; \left\{ {{\sum\limits_{i = 1}^{NS}\; {\omega_{i}{{{P_{stori}(t)}^{\prime} - {P_{stori}(t)}}}}} + {\sum\limits_{j = 1}^{NL}\; {\omega_{j}{{{\Delta \; {P_{Lj}(t)}^{\prime}} - {\Delta \; {P_{Lj}(t)}}}}}} + {\omega_{g}{{{P_{grid}(t)}^{\prime} - {P_{grid}(t)}}}}} \right\}}},} & (2) \end{matrix}$ in formula (2), T being the optimization time bucket of long-time-scale optimization scheduling of the active power distribution network, P_(grid)(t) being power of the tie line under the long time scale, P_(stori)(t) being the energy storage output power of long-time-scale optimization scheduling, ΔP_(Lj)(t) being the flexible load output power of long-time-scale optimization scheduling, P_(grid)(t)′ being power of the tie line under the short time scale, P_(stori)(t)′ being the energy storage output power of short-time-scale optimization scheduling, ΔP_(Lj)(t)′ being the flexible load output power of short-time-scale optimization scheduling, ω_(i) being an energy storage weight coefficient, ω_(j) being a flexible load weight coefficient, ω_(g) being a tie line weight coefficient, t₀ being an initial moment, NL being the number of the flexible loads in the active power distribution network, NS being the number of the energy storage devices and min f being a minimum value of cost in short-time-scale optimization scheduling of the active power distribution network; and the constraint condition comprises: the power constraint of the tie line of the active power distribution network and the main network, the power balance constraint, the energy storage battery constraint, the flexible load constraint and the network power flow security constraint.
 7. The method according to claim 6, wherein the power constraint of the tie line of the active power distribution network and the main network comprises: −P_(L) ^(max)(t)′≤P_(grid)(t)′≤P_(L) ^(max)(t)′, P_(L) ^(max)(t)′ being an upper limit value of active power of the tie line under the short time scale, P_(L) ^(min)(t)′ being a lower limit value of the active power of the tie line under the short time scale and P_(grid)(t)′ being power of the tie line under the short time scale; the power balance constraint comprises: ${{{\sum\limits_{i = 1}^{NS}\; {P_{stori}(t)}^{\prime}} + {\sum\limits_{j = 1}^{NL}\; {\Delta \; {P_{Lj}\left( t^{\prime} \right)}}} + {\sum\limits_{k = 1}^{{wind} + {solar}}\; {{\hat{P}}_{k}(t)}^{\prime}} + {P_{grid}(t)}^{\prime}} = {{{\hat{P}}_{load}(t)}^{\prime} + {P_{loss}(t)}^{\prime}}},$ P_(grid)(t) being the power of the tie line under the short time scale, P_(stori)(t)′ being the energy storage output power of short-time-scale optimization scheduling, ΔP_(Lj)(t)′ being the flexible load output power of short-time-scale optimization scheduling, P_(k)(t)′ being the distributed power supply predicted value of the active power distribution network under the short time scale, {circumflex over (P)}_(load)(t)′ being the load predicted value of the active power distribution network under the short time scale and P_(loss)(t)′ being active power loss of the active power distribution network under the short time scale; the energy storage battery constraint comprises: when the energy storage battery is discharged under the short time scale, P_(storj)(t)′>0 and the left capacity of the moment t is: ${{{SOC}_{j}(t)}^{\prime} = {{{{SOC}_{j}\left( {t - 1} \right)}\left( {1 - \sigma} \right)^{\prime}} - \frac{{P_{storj}(t)}^{\prime}}{\eta_{D}^{\prime}}}},$ when the energy storage battery is charged under the short time scale, P_(storj)(t)′<0 and the left capacity of the moment t is: SOC_(j)(t)′=SOC_(j)(t−1)(1−σ)′−P_(storj)(t)′η_(C)′, a charge and discharge power constraint of the energy storage battery under the short time scale is: P_(storj) ^(min)′≤P_(storj)(t)′≤P_(storj) ^(min)′, and a capacity constraint of the energy storage battery under the short time scale is: SOC_(j) ^(min)′≤SOC_(j)(t)′≤SOC_(j) ^(max)′, where σ is a self-discharge rate of the energy storage battery under the short time scale, η_(C)′ is charge efficiency of the energy storage battery under the short time scale, η_(D)′ is discharge efficiency of the energy storage battery under the short time scale, SOC_(j)(t−1)′ is a left energy storage capacity of the last moment under the short time scale, SOC_(j)(t)′ is a left energy storage capacity of the moment t under the short time scale, SOC_(j) ^(max)′ is an upper limit value of a left capacity of the energy storage battery under the short time scale, SOC_(j) ^(min)′ is a lower limit value of the left capacity of the energy storage battery under the short time scale, P_(storj) ^(max)′ is an upper limit value of charge power of the energy storage battery under the short time scale, and P_(storj) ^(min)′ is a lower limit value of the discharge power of the energy storage battery under the short time scale; the flexible load constraint comprises: ΔP_(Li min)′≤ΔP_(Li)′≤ΔP_(Li max)′, ΔP_(Li max)′ being an upper limit value of a flexible load power change under the short time scale, ΔP_(Li min)′ being a lower limit value of the flexible load power change under the short time scale and ΔP_(Lj)(t)′ being flexible load output power of short-time-scale optimization scheduling; and the network power flow security constraint comprises: V_(min)′≤V_(n)′≤V_(max)′ and I_(b)′≤I_(b.rated)′, V_(n)′ being a node voltage amplitude under the short time scale, V_(max)′ being an upper limit value of the node voltage amplitude under the short time scale, V_(min)′ being a lower limit value of the node voltage amplitude under the short time scale, I_(b)′ being a branch current under the short time scale and I_(b.rated)′ being a branch rated current under the short time scale.
 8. The method according to claim 5, wherein performing feedback correction on the short-time-scale optimization scheduling model for the active power distribution network according to the real-time operation state of the active power distribution network in Step (2-4) comprises: (2-4-1) acquiring the optimization time bucket T of long-time-scale optimization scheduling of the active power distribution network, setting a prediction period m of short-time-scale optimization scheduling of the active power distribution network, and calculating an optimization time bucket p of short-time-scale optimization scheduling of the active power distribution network; (2-4-2) calculating an error e(k) between a practical output result y(k) of the active power distribution network at the moment k and the optimization result {tilde over (y)}(k) of the moment k in short-time-scale optimization scheduling of the active power distribution network: e(k)=y(k)−{tilde over (y)}(k) (3); and (2-4-3) correcting optimization results from moments k+1 to k+p in short-time-scale optimization scheduling of the active power distribution network according to the error e(k): $\begin{matrix} {{\begin{bmatrix} {{\overset{\sim}{y}}_{1}\left( {k + 1} \right)} \\ {{\overset{\sim}{y}}_{1}\left( {k + 2} \right)} \\ {\vdots } \\ {{\overset{\sim}{y}}_{1}\left( {k + p} \right)} \end{bmatrix} = {\begin{bmatrix} {\overset{\sim}{y}\left( {k + 1} \right)} \\ {\overset{\sim}{y}\left( {k + 1} \right)} \\ {\vdots \mspace{79mu}} \\ {\overset{\sim}{y}\left( {k + p} \right)} \end{bmatrix} + {\begin{bmatrix} h_{k + 1} \\ h_{k + 2} \\ {\vdots \mspace{40mu}} \\ h_{k + p} \end{bmatrix}{e(k)}}}},} & (4) \end{matrix}$ in formula (4), {tilde over (y)}₁(k+p) being a correction result of the optimization result {tilde over (y)}(k+p) of the moment k+p, and h_(k+p) being model information of the moment k+p, being obtained by offline identification and being a constant matrix.
 9. A non-transitory storage medium having stored therein a computer-executable instruction configured to execute a multi-time-scale coordinated optimization scheduling method for an active power distribution network, the method comprising steps: (1) performing long-time-scale optimization scheduling on the active power distribution network (1); and (2) performing Model Predictive Control (MPC)-based short-time-scale rolling optimization scheduling on the active power distribution network according to an optimization result of long-time-scale optimization scheduling of the active power distribution network.
 10. The non-transitory storage medium according to claim 9, wherein Step (1) comprises: (1-1) acquiring a distributed power supply predicted value {tilde over (P)}_(k)(t), load predicted value {circumflex over (P)}_(load)(t), adjustable energy storage capacity and adjustable flexible load capacity of the active power distribution network under a long time scale; (1-2) constructing a long-time-scale optimization scheduling model for the active power distribution network; and (1-3) acquiring the optimization result of long-time-scale optimization scheduling of the active power distribution network, the optimization result comprising: energy storage output power P_(stori)(t) and flexible load output power ΔP_(Li)(t).
 11. The non-transitory storage medium according to claim 10, wherein the long-time-scale optimization scheduling model for the active power distribution network in Step (1-2) comprises: a target function for long-time-scale optimization scheduling and a constraint condition; the target function for long-time-scale optimization scheduling is: $\begin{matrix} {{{\min \mspace{14mu} F} = {\min {\sum\limits_{t = 1}^{T\; 1}\; \left\{ {{{c_{grid}(t)}{P_{grid}(t)}} + {\sum\limits_{i = 1}^{NL}\; {C_{loadi}(t)}} + {\sum\limits_{j = 1}^{NS}\; {C_{storj}(t)}}} \right\}}}},} & (1) \end{matrix}$ in formula (1), min F being a minimum value of cost in long-time-scale optimization scheduling of the active power distribution network, c_(grid)(t) representing a time-of-use electricity price of a power grid, P_(grid)(t) being output power of a tie line under the long time scale, C _(loadi)(t) being flexible load scheduling cost, C_(storj)(t) being energy storage equipment scheduling cost, T1 representing a long-time-scale optimization scheduling period, NL being a number of flexible loads in the active power distribution network and NS being a number of energy storage devices; and the constraint condition comprises: a power constraint of the tie line of the active power distribution network and a main network, a power balance constraint, an energy storage battery constraint, a flexible load constraint and a network power flow security constraint.
 12. The non-transitory storage medium according to claim 11, wherein the power constraint of the tie line of the active power distribution network and the main network comprises: −P_(L) ^(max)(t)≤P_(grid)(t)≤P_(L) ^(max)(t), P_(L) ^(max)(t) being value of active power of the tie line under the long time scale, P_(L) ^(min)(t) being a lower limit value of the active power of the tie line under the long time scale and P_(grid)(t) being the output power of the tie line under the long time scale; the power balance constraint comprises: ${{{\sum\limits_{i = 1}^{NS}\; {P_{stori}(t)}} + {\sum\limits_{j = 1}^{NL}\; {\Delta \; {P_{Lj}(t)}}} + {\sum\limits_{k = 1}^{{wind} + {solar}}\; {{\hat{P}}_{k}(t)}} + {P_{grid}(t)}} = {{{\hat{P}}_{load}(t)} + {P_{loss}(t)}}},$ P_(grid)(t) being the output power of the tie line under the long time scale, P_(stori)(t) being the energy storage output power of long-time-scale optimization scheduling, ΔP_(Lj)(t) being the flexible load output power of long-time-scale optimization scheduling, {circumflex over (P)}_(k)(t) being the distributed power supply predicted value of the active power distribution network under the long time scale, {circumflex over (P)}_(load)(t) being the load predicted value of the active power distribution network under the long time scale and P_(loss)(t) being active power loss of the active power distribution network under the long time scale; the energy storage battery constraint comprises: when an energy storage battery is discharged under the long time scale, P_(storj)(t)>0 and a left capacity of a moment t is ${{{SOC}_{j}(t)} = {{{{SOC}_{j}\left( {t - 1} \right)}\left( {1 - \sigma} \right)} - \frac{P_{storj}(t)}{\eta_{D}}}},$ when the energy storage battery is charged under the long time scale, P_(storj)(t)<0 and the left capacity of the moment t is SOC_(j)(t)=SOC_(j)(t−1)(1−σ)−P_(storj)(t)η_(C), a charge and discharge power constraint of the energy storage battery under the long time scale is: P_(storj) ^(min)≤P_(storj)(t)≤P_(storj) ^(max), and a capacity constraint of the energy storage battery under the long time scale is: SOC_(j) ^(min)≤SOC_(j)(t)≤SOC_(j) ^(max), where σ is a self-discharge rate of the energy storage battery under the long time scale, η_(C) is charge efficiency of the energy storage battery under the long time scale, η_(D) is discharge efficiency of the energy storage battery under the long time scale, SOC_(j)(t−1) is a left energy storage capacity of a last moment under the long time scale, SOC_(j)(t) is a left energy storage capacity of the moment t under the long time scale, SOC_(j) ^(max) is an upper limit value of a left capacity of the energy storage battery under the long time scale, SOC_(j) ^(min) is a lower limit value of the left capacity of the energy storage battery under the long time scale, P_(storj) ^(max) is an upper limit value of charge power of the energy storage battery under the long time scale, and P_(storj) ^(min) is a lower limit value of discharge power of the energy storage battery under the long time scale; the flexible load constraint comprises: ΔP_(Li min)≤ΔP_(Li)≤ΔP_(Li max), ΔP_(Li max) being an upper limit value of a flexible load power change under the long time scale, ΔP_(Li min) being a lower limit value of the flexible load power change under the long time scale and ΔP_(Lj)(t) being the flexible load output power of long-time-scale optimization scheduling; and the network power flow security constraint comprises: V_(min)≤V_(n)≤V_(max) and I_(b)≤I_(b.rated), V_(n) being a node voltage amplitude under the long time scale, V_(max) being an upper limit value of the node voltage amplitude under the long time scale, V_(min) being a lower limit value of the node voltage amplitude under the long time scale, I_(b) being a branch current under the long time scale and I_(b.rated) being a branch rated current under the long time scale.
 13. The non-transitory storage medium according to claim 9, wherein Step (2) comprises: (2-1) acquiring a distributed power supply predicted value {circumflex over (P)}_(k)(t)′, load predicted value {circumflex over (P)}_(load)(t)′, adjustable energy storage capacity and adjustable flexible load capacity of the active power distribution network under a short time scale and the optimization result of long-time-scale optimization scheduling of the active power distribution network, the optimization result of long-time-scale optimization scheduling of the active power distribution network comprising: the energy storage output power P_(stori)(t) and the flexible load output power ΔP_(Lj)(t); (2-2) constructing a short-time-scale optimization scheduling model for the active power distribution network; (2-3) acquiring energy storage output power P_(stori)(t)′ and flexible load output power ΔP_(Lj)(t)′ of short-time-scale optimization scheduling of the active power distribution network and an optimization result {tilde over (y)}(k) of a moment k in a solution sequence, {tilde over (y)}(k) comprising energy storage output power P_(stori)(k)′ of the moment k and flexible load output power ΔP_(Lj)(k)′ of the moment k; (2-4) performing feedback correction on the short-time-scale optimization scheduling model for the active power distribution network according to a real-time operation state of the active power distribution network; and (2-5) if long-time-scale optimization scheduling is ended or an optimization scheduling process is artificially interrupted, ending short-time-scale optimization scheduling, otherwise performing rolling optimization on short-time-scale optimization scheduling according to a feedback correction result.
 14. The non-transitory storage medium according to claim 13, wherein constructing the short-time-scale optimization scheduling model for the active power distribution network in Step (2-2) comprises: (2-2-1) acquiring an optimization time bucket T of long-time-scale optimization scheduling of the active power distribution network, and setting a short-time-scale optimization scheduling period; and (2-2-2) designing a target function for short-time-scale optimization scheduling and a constraint condition, wherein the target function for short-time-scale optimization scheduling is: $\begin{matrix} {{{\min \mspace{14mu} f} - {\sum\limits_{t = {t_{0} + 1}}^{t = {t_{0} + T}}\; \left\{ {{\sum\limits_{i = 1}^{NS}\; {\omega_{i}{{{P_{stori}(t)}^{\prime} - {P_{stori}(t)}}}}} + {\sum\limits_{j = 1}^{NL}\; {\omega_{j}{{{\Delta \; {P_{Lj}(t)}^{\prime}} - {\Delta \; {P_{Lj}(t)}}}}}} + {\omega_{g}{{{P_{grid}(t)}^{\prime} - {P_{grid}(t)}}}}} \right\}}},} & (2) \end{matrix}$ in formula (2), T being the optimization time bucket of long-time-scale optimization scheduling of the active power distribution network, P_(grid)(t) being power of the tie line under the long time scale, P_(stori)(t) being the energy storage output power of long-time-scale optimization scheduling, ΔP_(Lj)(t) being the flexible load output power of long-time-scale optimization scheduling, P_(grid)(t) being power of the tie line under the short time scale, P_(stori)(t)′ being the energy storage output power of short-time-scale optimization scheduling, ΔP_(Lj)(t)′ being the flexible load output power of short-time-scale optimization scheduling, ω_(g) being an energy storage weight coefficient, ω_(j) being a flexible load weight coefficient, ω_(g) being a tie line weight coefficient, t₀ being an initial moment, NL being the number of the flexible loads in the active power distribution network, NS being the number of the energy storage devices and min f being a minimum value of cost in short-time-scale optimization scheduling of the active power distribution network; and the constraint condition comprises: the power constraint of the tie line of the active power distribution network and the main network, the power balance constraint, the energy storage battery constraint, the flexible load constraint and the network power flow security constraint.
 15. The non-transitory storage medium according to claim 14, wherein the power constraint of the tie line of the active power distribution network and the main network comprises: −P_(L) ^(max)(t)′≤P_(grid)(t)′≤P_(L) ^(max)(t)′, P_(L) ^(max)(t)′ being an upper limit value of active power of the tie line under the short time scale, P_(L) ^(min)(t)′ being a lower limit value of the active power of the tie line under the short time scale and P_(grid)(t)′ being power of the tie line under the short time scale; the power balance constraint comprises: ${{{\sum\limits_{i = 1}^{NS}\; {P_{stori}(t)}^{\prime}} + {\sum\limits_{j = 1}^{NL}\; {\Delta \; {P_{Lj}\left( t^{\prime} \right)}}} + {\sum\limits_{k = 1}^{{wind} + {solar}}\; {{\hat{P}}_{k}(t)}^{\prime}} + {P_{grid}(t)}^{\prime}} = {{{\hat{P}}_{load}(t)}^{\prime} + {P_{loss}(t)}^{\prime}}},$ P_(grid)(t)′ being the power of the tie line under the short time scale, P_(stori)(t)′ being the energy storage output power of short-time-scale optimization scheduling, ΔP_(Lj)(t)′ being the flexible load output power of short-time-scale optimization scheduling, {circumflex over (P)}_(k)(t)′ being the distributed power supply predicted value of the active power distribution network under the short time scale, {circumflex over (P)}_(load)(t)′ being the load predicted value of the active power distribution network under the short time scale and P_(loss)(t)′ being active power loss of the active power distribution network under the short time scale; the energy storage battery constraint comprises: when the energy storage battery is discharged under the short time scale, P_(storj)(t)′>0 and the left capacity of the moment t is: ${{{SOC}_{j}(t)}^{\prime} = {{{{SOC}_{j}\left( {t - 1} \right)}\left( {1 - \sigma} \right)^{\prime}} - \frac{{P_{storj}(t)}^{\prime}}{\eta_{D}^{\prime}}}},$ when the energy storage battery is charged under the short time scale, P_(storj)(t)′>0 and the left capacity of the moment t is: SOC_(j)(t)′=SOC_(j)(t−1)(1−σ)′−P_(storj)(t)′η_(C)′, a charge and discharge power constraint of the energy storage battery under the short time scale is: P_(storj) ^(min)′≤P_(storj)(t)′≤P_(storj) ^(max)′, and a capacity constraint of the energy storage battery under the short time scale is: SOC_(j) ^(min)′≤SOC_(j)(t)′≤SOC_(j) ^(max)′, where σ′ is a self-discharge rate of the energy storage battery under the short time scale, η_(C)′ is charge efficiency of the energy storage battery under the short time scale, η_(D)′ is discharge efficiency of the energy storage battery under the short time scale, SOC_(j)(t−1)′ is a left energy storage capacity of the last moment under the short time scale, SOC_(j)(t)′ is a left energy storage capacity of the moment t under the short time scale, SOC_(j) ^(max)′ is an upper limit value of a left capacity of the energy storage battery under the short time scale, SOC_(j) ^(min)′ is a lower limit value of the left capacity of the energy storage battery under the short time scale, P_(storj) ^(max)′ is an upper limit value of charge power of the energy storage battery under the short time scale, and P_(storj) ^(min)′ is a lower limit value of the discharge power of the energy storage battery under the short time scale; the flexible load constraint comprises: ΔP_(Li min)′≤ΔP_(Li)′≤ΔP_(Li max)′, ΔP_(Li max)′ being an upper limit value of a flexible load power change under the short time scale, ΔP_(Li min)′ being a lower limit value of the flexible load power change under the short time scale and ΔP_(Lj)(t)′ being flexible load output power of short-time-scale optimization scheduling; and the network power flow security constraint comprises: V_(min)′≤V_(n)′≤V_(max)′ and I_(b)′≤I_(b.rated)′, V_(n)′ being a node voltage amplitude under the short time scale, V_(max)′ being an upper limit value of the node voltage amplitude under the short time scale, V_(min)′ being a lower limit value of the node voltage amplitude under the short time scale, I_(b)′ being a branch current under the short time scale and I_(b.rated)′ being a branch rated current under the short time scale.
 16. The non-transitory storage medium according to claim 13, wherein performing feedback correction on the short-time-scale optimization scheduling model for the active power distribution network according to the real-time operation state of the active power distribution network in Step (2-4) comprises: (2-4-1) acquiring the optimization time bucket T of long-time-scale optimization scheduling of the active power distribution network, setting a prediction period m of short-time-scale optimization scheduling of the active power distribution network, and calculating an optimization time bucket p of short-time-scale optimization scheduling of the active power distribution network; (2-4-2) calculating an error e(k) between a practical output result y(k) of the active power distribution network at the moment k and the optimization result {tilde over (y)}(k) of the moment k in short-time-scale optimization scheduling of the active power distribution network: e(k)=y(k)−{tilde over (y)}(k) (3); and (2-4-3) correcting optimization results from moments k+1 to k+p in short-time-scale optimization scheduling of the active power distribution network according to the error e(k): $\begin{matrix} {{\begin{bmatrix} {{\overset{\sim}{y}}_{1}\left( {k + 1} \right)} \\ {{\overset{\sim}{y}}_{1}\left( {k + 2} \right)} \\ {\vdots } \\ {{\overset{\sim}{y}}_{1}\left( {k + p} \right)} \end{bmatrix} = {\begin{bmatrix} {\overset{\sim}{y}\left( {k + 1} \right)} \\ {\overset{\sim}{y}\left( {k + 1} \right)} \\ {\vdots \mspace{79mu}} \\ {\overset{\sim}{y}\left( {k + p} \right)} \end{bmatrix} + {\begin{bmatrix} h_{k + 1} \\ h_{k + 2} \\ {\vdots \mspace{40mu}} \\ h_{k + p} \end{bmatrix}{e(k)}}}},} & (4) \end{matrix}$ in formula (4), {tilde over (y)}₁(k+p) being a correction result of the optimization result {tilde over (y)}(k+p) of the moment k+p, and h_(k+p) being model information of the moment k+p, being obtained by offline identification and being a constant matrix. 